require 'open-uri'
class Statementmailer < ActionMailer::Base
  
  def auto_statement_mailer(user)
    setup_contact_us(user)
    @body[:user] = ""
  end

  protected
  def setup_contact_us(user)
    @recipients  = user.email
    @from        = "Votq Team"
    @subject     = "Your Statements Progress"
    @sent_on     = Time.now
  end

end